﻿<Window x:Class="SSRSTestGenerator.Views.BrowseProjects"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Report Service Test Project Browser" Height="100" Width="450" 
        WindowStyle="ToolWindow" ResizeMode="CanResizeWithGrip"
        Icon="/SSRSTestGenerator;component/Images/16x16NewProjectpng.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Name="rowProperties" Width="8*"/>
            <ColumnDefinition Name="rowWindowEvents" Width="1*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
        </Grid.RowDefinitions>

        <Grid.Background>
            <LinearGradientBrush EndPoint="0.504,1.5" StartPoint="0.504,0.03">
                <LinearGradientBrush.GradientStops>
                    <GradientStop Offset="0" Color="LightBlue" />
                    <GradientStop Offset="0.25" Color="White" />
                    <GradientStop Offset="0.4" Color="WhiteSmoke" />
                </LinearGradientBrush.GradientStops>
            </LinearGradientBrush>
        </Grid.Background>

        <Label Name="lblProjectPath" Grid.Column="0" Grid.Row="0" BorderBrush="Black" BorderThickness="1" Margin="2,3,2,2"></Label>
        <Button Name="btnBrowseProject" Grid.Column="1" Grid.Row="0" Content="..." Click="btnBrowseProject_Click" Margin="0,3,0,2"></Button>

        <WrapPanel Grid.Row="1" Grid.ColumnSpan="2" HorizontalAlignment="Right" Margin="0,5,0,0">

            <Button Name="btnOpen" Height="23" MinWidth="70" Visibility="Visible" IsEnabled="False" Click="btnOpen_Click" >
                <DockPanel>
                    <Image Height="15" Width="15" Source="/Images/16x16-File.png" Margin="1,0,5,0"/>
                    <TextBlock VerticalAlignment="center" Text="Open"/>
                </DockPanel>
            </Button>

            <Button Name="btnCancel" Height="23" MinWidth="70"  Visibility="Visible" Click="btnCancel_Click" >
                <DockPanel>
                    <Image Height="15" Width="15" Source="/Images/16x16-CancelOpen.png" Margin="1,0,5,0"/>
                    <TextBlock VerticalAlignment="center" Text="Cancel"/>
                </DockPanel>
            </Button>
        </WrapPanel>

    </Grid>
</Window>
